home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / driverss.zip / NB.NOT < prev    next >
Text File  |  1990-03-13  |  4KB  |  123 lines

  1. From nelson@image.soe.clarkson.edu Sat Mar 10 21:20:52 1990
  2. Received: from omnigate.clarkson.edu by pear.ecs.clarkson.edu with SMTP
  3.     id AA2434 ; Sat, 10 Mar 90 21:20:38 GMT
  4. Received: from image.soe.clarkson.edu by omnigate.clarkson.edu id aa21202;
  5.           10 Mar 90 21:15 EST
  6. Received: by image.soe.clarkson.edu.soe (4.1/SMI-4.0)
  7.     id AA05284; Sat, 10 Mar 90 21:15:18 EST
  8. Message-Id: <9003110215.AA05284@image.soe.clarkson.edu.soe>
  9. From: Michael Haberler <mah@wu-wien.ac.at>
  10. Newsgroups: comp.protocols.tcp-ip.ibmpc
  11. Subject: Re: Using KA9Q to implement a gateway on an IBM PC]
  12. Date: 10 Mar 90 11:25:09 GMT
  13. Organization: The Internet
  14. X-Unparsable-Date: Thu, 8 Mar 90 16:13:49 MEZ
  15. Apparently-To: nb@pear.ecs
  16.  
  17. >
  18. > Michael Haberler states:
  19. >
  20. > > Do you mean the old IBM PC Lan which they bought from Sytek? Which runs a
  21. > > variety of MS-Net on top of it? If so, we have drivers for
  22. > > KA9Q (old, working), NOS (untested), a Netbios packet driver which works
  23. > > with NCSA Telnet (fine). We are investigating a Netbios driver under PC-NFS,
  24. > > but it's still buggy.
  25. >
  26. > Michael,
  27. >
  28. >     I can't seem to reach you directly for some reason; so I am replying
  29. > to the mailing list.  My apologies for taking up room on the list.
  30.     sorry. The .at domain still confuse mailers since it used to be an
  31.     alias for @ ..
  32. >
  33. >     I read your message concerning the drivers you had with great
  34. > interest.  Would it be possible for me to get those drivers from
  35. > you?...
  36.  
  37. Well,
  38.  
  39. here they come. I'm not sure what you're trying to connect. We're using
  40. the packet driver with NCSA Telnet, and KA9Q (a pre-NOS release).
  41. The PD is a real hack; I wonder if it will work for you. Anyway..
  42.  
  43. We have PC's on a Sytek LAN, and a PC running KA9Q as a bridge into ethernet.
  44. The clients use the packet driver and NCSA Telnet or ka9q wover the pd.
  45. The bridge has its own pd (which I include 'for reference'), and
  46. the standard builtin 3c501 ethernet driver.
  47.  
  48. The point is that the pd's have to be set up such that all traffic goes
  49. to the bridge; the upper layer doesnt pass a gateway IP adress, and arp
  50. doesnt work. The PD is class 6 ('SLIP'), i.e. no lan headers, no arp,
  51. MTU is 512 bytes (a NetBIOS limit,grrr).
  52.  
  53. Setup:
  54. ------
  55.  
  56. Assume your ka9q bridge has IP 192.13.1.128. Your Netbios client has
  57. IP address 192.13.1.131.
  58.  
  59. On the client, insert
  60.  
  61. 'nb 0x7f 192.13.1.131 192.13.1.128'
  62. into autoexecbat. This will load the pd, and set the 'gateway' ip address.
  63.  
  64. The KA9Q autoexec.net reads:
  65. ---------
  66.  
  67. # Attach interfaces
  68. # Syntax: attach <hw type> <I/O address> <vector> <mode> <label>
  69. #                <bufsize> <mtu> [<speed>]
  70. #
  71. #
  72. hostname bull
  73. ip ttl 16
  74. ip address [192.13.1.128]
  75. attach netbios arpa nb0 5 512
  76. attach 3c500 0x300 5 arpa ec0 10 1500
  77. #
  78. route add default ec0
  79. route add [192.13.1.128/28] nb0
  80. ....
  81. ------------
  82.  
  83. Alternatively, one could use a pd on ka9q as well.
  84.  
  85. Here's the relevant fragment of ncsa telnet config.tel:
  86.  
  87. ---------------------------
  88. myip=192.13.1.131        # ip types are
  89. hardware=packet
  90. address=6                       # base memory address or packet driver class
  91.                                 # if using packet driver (0 == default ==
  92.  ethernet)
  93.                                 # or class=6 for slip
  94. ioaddr=0                        # I/O address  or packet int vector if using
  95.  packet driver
  96.                                 # If = 0 and packet driver, telbin looks for
  97.  first
  98.                                 # packet driver found between 60H and 7FH
  99. .....
  100. maxseg=440                      # largest segment we can receive
  101. rwin=440                        # most bytes we can receive without ACK
  102. ------------------------------
  103.  
  104.  
  105. At last:
  106. Here it is. Use the Turbo Assembler and linker and create a com file (order of
  107. binaries is important):
  108.  
  109. tasm nbhead;
  110. tasm nb;
  111. tasm tail;
  112. tlink nbhead.obj+nb.obj+tail.obj;
  113. exe2bin nbhead.exe nb.com
  114.  
  115. -enjoy,
  116. michael
  117.  
  118. --------
  119. Michael Haberler    mah@nestroy.wu-wien.ac.at, mah@awiwuw11.bitnet
  120. University of Economics and Business Administration
  121. Augasse 2-6,  A-1090 Vienna, Austria
  122. Tel: +43 (222) 347-541 x796 (9-18 CET)     Fax 347-541 x770
  123.